package ai.plantdata.Behavior.mode.NullObjectPattern.abstractClasses.impl;

import ai.plantdata.Behavior.mode.NullObjectPattern.abstractClasses.AbstractCustomer;

/**
 * @Author: WangHui
 * @Date: 2020/12/23 16:41
 * @Description:
 */
public class RealCustomer extends AbstractCustomer {
    public RealCustomer(String name) {
        this.name = name;
    }

    @Override
    public boolean isNil() {
        return false;
    }

    @Override
    public String getName() {
        return name;
    }
}
